package com.yuyu.good;


import io.seata.spring.boot.autoconfigure.SeataAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author
 * @version 1.0
 * @description: TODO
 * @date 2022/9/28 9:10
 */
@SpringBootApplication(scanBasePackages = {"com.yuyu"},exclude = SeataAutoConfiguration.class)
@EnableScheduling
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.yuyu.**.remote"})
@EnableAspectJAutoProxy
public class GoodApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodApplication.class,args);
    }
}
